package com.itheima.domain;

import org.omg.PortableInterceptor.INACTIVE;

import java.io.Serializable;
import java.util.List;

public class PageBean implements Serializable {
    private Integer current;
    private Integer size;
    private Integer total;
    private Integer count;
    private List<Student> data;

    public PageBean() {
    }

    public PageBean(Integer current, Integer size, Integer total, Integer count, List<Student> data) {
        this.current = current;
        this.size = size;
        this.total = total;
        this.count = count;
        this.data = data;
    }

    public Integer getCurrent() {
        return current;
    }

    public void setCurrent(Integer current) {
        this.current = current;
    }

    public Integer getSize() {
        return size;
    }

    public void setSize(Integer size) {
        this.size = size;
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public List<Student> getData() {
        return data;
    }

    public void setData(List<Student> data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "PageBean{" +
                "current=" + current +
                ", size=" + size +
                ", total=" + total +
                ", count=" + count +
                ", data=" + data +
                '}';
    }
}
